package org.luxor.commons.selenium.component;

import java.util.Date;

/**
 * 轨迹日志
 *
 * @author Mr.yan  @date 2022/9/26
 */
public class TrackLog {

    /**
     * 日志信息
     */
    private String message;

    /**
     * Base64页面截图
     */
    private String base64Image;

    /**
     * 页面内容
     */
    private String htmlText;

    /**
     * 创建时间
     */
    private Date createTime;

    public TrackLog() {
        this.createTime = new Date();
    }

    public TrackLog(String message, String base64Image, String htmlText) {
        this.createTime = new Date();
        this.message = message;
        this.base64Image = base64Image;
        this.htmlText = htmlText;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getBase64Image() {
        return base64Image;
    }

    public void setBase64Image(String base64Image) {
        this.base64Image = base64Image;
    }

    public String getHtmlText() {
        return htmlText;
    }

    public TrackLog setHtmlText(String htmlText) {
        this.htmlText = htmlText;
        return this;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
